import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SWildBossInfo
    
    export  class SWildBossInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SWildBossInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.wildBossId);
            arg1.writeBool(this.bLive);
            arg1.writeDate(this.refreshDt);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.wildBossId = arg1.readInt();
            this.bLive = arg1.readBool();
            this.refreshDt = arg1.readDate();
            return;
        }

        public /* const */_type: int=260;

        public /* var */wildBossId: int;

        public /* var */bLive: Boolean;

        public /* var */refreshDt: Date;

        public static /* var */_regist: SWildBossInfo;
    }

            SWildBossInfo._regist = new SWildBossInfo(true);
        